package com.qijian.maindata.domain.query;


import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import com.qijian.maindata.domain.ProductAttributeUnit;
import lombok.Data;
import lombok.ToString;

import java.util.Set;

@Data
@ToString
@TableName("bi_product_attribute_unit")
public class ProductAttributeUnitQuery extends ProductAttributeUnit {
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;

    @WhereType(filed = "code", type = WhereTypeEnum.LIKE)
    private String code;

    @WhereType(filed = "name", type = WhereTypeEnum.LIKE)
    private String name;

    @WhereType(filed = "simplify_name", type = WhereTypeEnum.LIKE)
    private String simplifyName;

    @WhereType(filed = "conversion_ratio", type = WhereTypeEnum.LIKE)
    private String conversionRatio;


}
